#include "RegressionBonus.h"
#include "Stage.h"

RegressionBonus::RegressionBonus() {
	this->setTexture((Texture*)DaoFactory::getInstance()->getDao("Texture")->find("explorer"));
	/*Sacar el dao de aki*/
	this->setRadius(15);
	this->setLineColor(new Color("255","255","255"));
	this->setSurface(SketcherHelper::getInstance()->createCircleSurface(this->getRadius(),this->getTexture(),this->getLineColor()));
	this->setId("RegressionBonus");
}

RegressionBonus::~RegressionBonus() {
}

void RegressionBonus::doMagic(void* stage){
	((Stage*)stage)->reversePowerOn();

}

void RegressionBonus::undoMagic(void* stage){
	((Stage*)stage)->reversePowerOff();
}
